package com.danskin.wechat.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.VipVote;
import com.danskin.wechat.entity.example.VipVoteExample;
import com.danskin.wechat.util.Page;

public interface VipVoteDao {

	List<VipVote> queryVipVote(@Param("activityId")String activityId);

	List<VipVote> listPageFindVipVoteList(Page page);

	void deleteVipVote(@Param("id")String id);

	VipVote findvipVotebyId(@Param("id")String id);

	void updateVoteService(VipVote vipVote);
	
	
	 int countByExample(VipVoteExample example);

	    int deleteByExample(VipVoteExample example);

	    int deleteByPrimaryKey(Integer id);

	    int insert(VipVote record);

	    int insertSelective(VipVote record);

	    List<VipVote> selectByExample(VipVoteExample example);

	    VipVote selectByPrimaryKey(Integer id);

	    int updateByExampleSelective(@Param("record") VipVote record, @Param("example") VipVoteExample example);

	    int updateByExample(@Param("record") VipVote record, @Param("example") VipVoteExample example);

	    int updateByPrimaryKeySelective(VipVote record);

	    int updateByPrimaryKey(VipVote record);
	    
	    List<VipVote> selectVipVoteAndVipOptionByActivityId(Map<String,Object> map);

}
